﻿<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8" />
    <title>@ViewBag.Title</title>
    <link href="@Url.Content("~/Content/Style.css")" rel="stylesheet" type="text/css" />
    <link href="@Url.Content("~/Content/Product.css")" rel="stylesheet" type="text/css" />
    <link href="@Url.Content("~/Content/jquery.thumbnailScroller.css")" rel="stylesheet" type="text/css" />
    <script src="@Url.Content("~/Scripts/jquery-1.5.1.min.js")" type="text/javascript"></script>
    <script src="@Url.Content("~/Scripts/modernizr-1.7.min.js")" type="text/javascript"></script>
    @*<script src="https://ajax.googleapis.com/ajax/libs/jquery/1/jquery.min.js" type="text/javascript"></script>*@
    @*<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.5/jquery.min.js" type="text/javascript"></script>*@
    <script src="@Url.Content("~/Scripts/jquery.truncate.js")" type="text/javascript"></script>
    @*Slideshow*@
    <script src="@Url.Content("~/Scripts/jquery.thumbnailScroller.js")" type="text/javascript"></script>
    <script src="@Url.Content("~/Scripts/jquery-ui-1.8.13.custom.min.js")" type="text/javascript"></script>
    @*Ckeditor*@
    <script type="text/javascript" src="@Url.Content("~/Scripts/Javascript/ckeditor/ckeditor.js")"></script>
    <script type="text/javascript" src="@Url.Content("~/Scripts/Javascript/ckeditor/adapters/jquery.js")"></script>
    @*Pager*@ @*<script type="text/javascript" src="@Url.Content("~/Scripts/jquery.unobtrusive-ajax.min.js")"></script>*@
    <script type="text/javascript">
	//<![CDATA[
		$(document).ready(function() {
			$('.tl_item_title').truncate({
				width: '160px',
				token: '&hellip;',
				side: 'right',
				addclass: false,
				addtitle: true,
			});
            $('.tl_item_gioithieu').truncate({
				width: '180px',
				token: '&hellip;',
				side: 'right',
				addclass: false,
				addtitle: true,
			});
            $('.tl_item_user').truncate({
				width: '80px',
				token: '&hellip;',
				side: 'right',
				addclass: false,
				addtitle: true,
			});		
		});
	//]]>
     (function ($) {
            window.onload = function () {
                $("#tS1").thumbnailScroller({
                    scrollerType: "hoverAccelerate",
                    scrollerOrientation: "horizontal",
                    scrollSpeed: 2,
                    scrollEasing: "easeOutCirc",
                    scrollEasingAmount: 600,
                    acceleration: 4,
                    scrollSpeed: 800,
                    noScrollCenterSpace: 10,
                    autoScrolling: 0,
                    autoScrollingSpeed: 2000,
                    autoScrollingEasing: "easeInOutQuad",
                    autoScrollingDelay: 500
                });
            }
        })(jQuery);
    </script>
</head>
<body>
    <script type="text/javascript">
        (function (i, s, o, g, r, a, m) {
            i['GoogleAnalyticsObject'] = r; i[r] = i[r] || function () {
                (i[r].q = i[r].q || []).push(arguments)
            }, i[r].l = 1 * new Date(); a = s.createElement(o),
  m = s.getElementsByTagName(o)[0]; a.async = 1; a.src = g; m.parentNode.insertBefore(a, m)
        })(window, document, 'script', '//www.google-analytics.com/analytics.js', 'ga');

        ga('create', 'UA-43474661-1', 'handvn.com');
        ga('send', 'pageview');

    </script>
    <div id="fb-root">
    </div>
    <script type="text/javascript">
        (function (d, s, id) {
            var js, fjs = d.getElementsByTagName(s)[0];
            if (d.getElementById(id)) return;
            js = d.createElement(s); js.id = id;
            js.src = "//connect.facebook.net/en_US/all.js#xfbml=1";
            fjs.parentNode.insertBefore(js, fjs);
        } (document, 'script', 'facebook-jssdk'));</script>
    <div id="wrapper">
        <div id="tl_headtop">
        </div>
        <!-- End headtop-->
        <div id="tl_head">
            @Html.Partial("_Header")
        </div>
        <!-- End head-->
        <div class="clear">
        </div>
        <!-- Thẻ div trống với class="clear"-->
        <div id="tl_menu">
            @if (Request.IsAuthenticated && @Session["Name"] != null)
            {
                <div class="tl_menu_acc">
                    <ul>
                        <li>
                            <div class="btn">
                                <span>
                                    <img alt="" src="../../Images/tool.jpg" style="width: 15px; height: 15px; margin: 5px 0 0 0" />
                                    @Session["Name"]</span></div>
                            <ul>
                                <li><a href="../product/userView?UserID=@Session["UserId"]">Quản lý sản phẩm</a></li>
                                <li>@Html.ActionLink("Thoát", "logoff", "account")</li>
                            </ul>
                        </li>
                    </ul>
                </div>
            }
        </div>
        <div class="clear">
        </div>
        <!-- Thẻ div trống với class="clear"-->
        <div id="tl_container">
            @RenderBody()
        </div>
        <!-- End Container-->
         <div class="clear">
        </div>
        <!-- Thẻ div trống với class="clear"-->
        <div id="tl_footer">
            @Html.Partial("_Footer")
        </div>
        <!-- End Footer-->
    </div>
</body>
</html>
